package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 投诉，建意，售后单据表Complaint
 */
@Entity
@Table(name = "B_COM_BILL")
public class BComBillEntity implements Serializable {
	private static final long serialVersionUID = -7303393825487662219L;
	private String id;
	private String customer_name;//客户姓名
	private String cmphone;//客户电话
	private String cust_address;//客户地址
	private String reason;//原因
	private String content;//内容
	private Integer type;//0投诉单
	private String create_user_id;//创建人
	private Date create_time;//创建时间
	private Integer active;//0新建，1处理中，2已完成
	@Id
	@Column(name = "ID", unique = true, nullable = false)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name = "CUSTOMER_NAME")
	public String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}
	@Column(name = "CMPHONE")
	public String getCmphone() {
		return cmphone;
	}
	public void setCmphone(String cmphone) {
		this.cmphone = cmphone;
	}
	@Column(name = "CUST_ADDRESS")
	public String getCust_address() {
		return cust_address;
	}
	public void setCust_address(String cust_address) {
		this.cust_address = cust_address;
	}
	@Column(name = "REASON")
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	@Column(name = "CONTENT")
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Column(name = "TYPE")
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	@Column(name = "CREATE_USER_ID")
	public String getCreate_user_id() {
		return create_user_id;
	}
	public void setCreate_user_id(String create_user_id) {
		this.create_user_id = create_user_id;
	}
	@Column(name = "CREATE_TIME")
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	@Column(name = "ACTIVE")
	public Integer getActive() {
		return active;
	}
	public void setActive(Integer active) {
		this.active = active;
	}
}
